package com.neu.bean;

import org.litepal.crud.LitePalSupport;

/**
 * 对应数据库的bean
 */
public class Student extends LitePalSupport {
    private int id;
    private String name;
    private int snum;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSnum() {
        return snum;
    }

    public void setSnum(int snum) {
        this.snum = snum;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", snum=" + snum +
                '}';
    }
}
